package com.bgIntlgn.client.entity.warehourse;

import yuhuibear.poat.annotations.relation.Field;
import yuhuibear.poat.annotations.relation.Table;
import yuhuibear.poat.object.bean.Bean;

@Table(name = "sell_out", constrain = "")
public class SellOut implements Bean {

	/**
	 * 对应的订单
	 */
	@Field(name = "order_id", type = "int8 ", constrain = " not null references orders(id) on update cascade on delete cascade")
	private Long orderId;

	/**
	 * 对应的库存记录。
	 */
	@Field(name = "bill_id", type = "int8", constrain = " not null references storage_bills(id) on update cascade on delete cascade")
	private Long billId;

	
	public Long getOrderId() {
		return this.orderId;
	}

	
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	
	public Long getBillId() {
		return this.billId;
	}

	
	public void setBillId(Long billId) {
		this.billId = billId;
	}

	
}
